import Layout from '@/layout'

export default {
  path: '/employees',
  component: Layout,
  // redirect: '/dashboard',
  children: [{
    // children 里的path为空 当前这个路由回座位一级渲染的默认路由
    path: '',
    name: 'employees',
    component: () => import('@/views/employees'),
    meta: { title: '员工管理', icon: 'people' }
  },
  {
    path: 'employeeDetail',
    name: 'employeeDetail',
    component: () => import('@/views/employees/detail.vue'),
    hidden: true
  }
  ]
}

